home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_d
/
qrep10b.zip
/
QRMD.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1996-04-10
|
1KB
|
52 lines
unit QRMD;
{
QuickReport Master/detail template
- Connect a datasource to the QuickReport component
- Connect a datasource to the DetailLink component
- Make sure a master/detail relationship is set up between the two tables
- Put QRDBText components on the bands
}
interface
uses
Wintypes,winprocs, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Quickrep, StdCtrls, ExtCtrls, DB, DBTables;
type
TQRMDTemplate = class(TForm)
QuickReport: TQuickReport;
Title: TQRBand;
PageHeader: TQRBand;
Master: TQRBand;
PageNumber: TQRSysData;
PageFooter: TQRBand;
QRDateTime: TQRSysData;
QRSysData1: TQRSysData;
QRLabel1: TQRLabel;
QRLabel2: TQRLabel;
QRLabel3: TQRLabel;
Detail: TQRBand;
QRLabel4: TQRLabel;
DetailFooter: TQRBand;
QRLabel5: TQRLabel;
DetailLink: TQRDetailLink;
Table1: TTable;
DataSource1: TDataSource;
Table2: TTable;
DataSource2: TDataSource;
private
{ Private declarations }
public
{ Public declarations }
end;
var
QRMDTemplate: TQRMDTemplate;
implementation
{$R *.DFM}
end.